<template>
  <div class="home">
    <div class="name center">{{item.title}}</div>
    <div class="info">
      <div>发布时间:{{item.releaseTime}}</div>
      <div>发布企业:{{item.publisher}}</div>
    </div>
     <div class="text" v-html="item.text"></div>
  </div>
</template>

<script>
import { getProcurementListItem } from "@/api/procurement/list";
export default {
  data() {
    return {
      item: {},
    };
  },
  created() {
    getProcurementListItem({
      id: this.$route.query.listId,
    }).then((res) => {
        this.item = res.data
    });
  },
  methods: {},
};
</script>

<style scoped>
.name {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  padding: 30px 0;
}
.home {
  margin-bottom: 100px;
}
.info {
  text-align: center;
}
.text{
    line-height: 27px;
    color: rgba(0, 0, 0, 0.95);
    padding: 0 250px;
}
</style>